Skip to content

Make cockpit lane actions executable on demand#486

Merged
NagyVikt merged 1 commit intomainfrom
agent/codex/wire-cockpit-menu-actions-2026-04-30-09-50
Apr 30, 2026
Merged

Make cockpit lane actions executable on demand#486
NagyVikt merged 1 commit intomainfrom
agent/codex/wire-cockpit-menu-actions-2026-04-30-09-50

Conversation

@NagyVikt
Copy link
Copy Markdown
Collaborator

Automated by gx branch finish (PR flow).

The cockpit control loop should keep rendering intents without launching work, while selected-lane actions need a bounded runner for files, diff, locks, sync, finish, pane focus, close, copy path, and editor open. This adds that runner and explicit control wrappers without replacing the current TUI reducer.

Constraint: Existing control-loop tests require menu selection to emit intents, not launch agents directly.

Rejected: Reuse stale worktree control.js wholesale | it deleted the current TUI control loop from PR #482.

Confidence: high

Scope-risk: moderate

Directive: Keep close limited to tmux pane cleanup; do not delete branch/worktree/session metadata from that action.

Tested: node --test test/cockpit-action-runner.test.js test/cockpit-control.test.js

Not-tested: Manual tmux cockpit interaction
@NagyVikt NagyVikt merged commit 8f056c7 into main Apr 30, 2026
@NagyVikt NagyVikt deleted the agent/codex/wire-cockpit-menu-actions-2026-04-30-09-50 branch April 30, 2026 08:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant